<%@page import="javax.portlet.PortletURL"%>
<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>

<portlet:defineObjects />

<h1>Welcome to our library</h1>

<portlet:renderURL var="updateBookURL">
	<portlet:param name="action" value="update"/>
</portlet:renderURL>

<br/><a href="<%=updateBookURL%>">Add new Book &raquo;</a>

<%
	PortletURL listBooksURL = renderResponse.createRenderURL();
	listBooksURL.setParameter("action", "list");
%>

<a href="<%=listBooksURL.toString()%>">Show all books &raquo;</a>

Name :<%= renderRequest.getParameter("Name")%>